package com.gzx.plugin.fin.tech.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.gzx.plugin.fin.tech.dto.GzxBlackRespDto;
import com.gzx.plugin.fin.tech.entity.GzxBlackList;

import java.util.List;

/**
 * @author zjt
 * @description
 * @since 2025/5/19 18:26
 */
public interface GzxBlackListDbService {

    /**
     * 查询黑名单
     *
     * @param lambdaQueryWrapper
     * @return
     */
    List<GzxBlackList> selectList(LambdaQueryWrapper<GzxBlackList> lambdaQueryWrapper);

    /**
     * 批量保存到数据库
     *
     * @param type
     * @param blackList
     */
    void saveBatch(Integer type, List<GzxBlackRespDto.DataResp> blackList);
}
